package com.yuyou.fn.activity.service;

import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.activity.entity.Activity;
import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.activity.vo.ActivityDetailVo;
import com.yuyou.fn.activity.vo.ActivityQueryVo;
import com.yuyou.fn.activity.vo.ActivitySaveUpdateVo;

import java.util.List;

/**
 *
 * Activity 表数据服务层接口
 *
 */
public interface IActivityService extends ISuperService<Activity,Long> {

    void saveOrUpdateActivityVo(ActivitySaveUpdateVo activitySaveUpdateVo);

    Page<ActivityDetailVo> findActivityDetailPage(ActivityQueryVo activityQueryVo,int pageNo,int pageSize);


    ActivityDetailVo findActivityDetailById(long activityId);

    List<Activity> findActivityListByPeriodId(long periodId);
}